<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="/WEB-INF/tld/pageutil.tld" prefix="pu"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<c-rt:set var="tp" value="${pu:pageableTag('tpp', 5, 1)}" />
<c-rt:set var="hql">
from Partner where memberId = ? 
</c-rt:set>
<c-rt:set var="params"
	value="${pu:addToList( 'paras', param.memberId)}" />
<c-rt:set var="partner" value="${pu:queryByHql(hql, params, tp)}" />
<div class="data-form"><c-rt:choose>
	<c-rt:when test="${not empty partner}">
		<table class="tb-1" width="100%">
			<tr>
				<th>idNumber</th>
				<td>${partner[0].idNumber}</td>
				<th>email</th>
				<td>${partner[0].email }</td>
				<th>mobile</th>
				<td>${partner[0].mobile }</td>
			</tr>
			<tr>
				<th>address</th>
				<td>${partner[0].address}</td>
				<th>fax</th>
				<td>${partner[0].fax }</td>
				<th>websiteURL</th>
				<td>${partner[0].websiteURL }</td>
			</tr>
		</table>
	</c-rt:when>
	<c-rt:otherwise>
无资料
</c-rt:otherwise>
</c-rt:choose></div>